package com.easycarebn.request.data;

public class UserProfile {
    private long id;
    private String email;
    private boolean activated;
    private String full_name;
    private String avatar;
    private String avatar_thumb;
    private String updatedAt;
    private String createdAt;
    private String birth_date;
    private int gender;
    private String address;
    private String phone;
    private UserProfile.Time last_login;

    public void setPhone(String phone) {
		this.phone = phone;
	}
    
    public String getPhone() {
        return phone;
    }
    
    public void setFull_name(String full_name) {
		this.full_name = full_name;
	}
    public void setEmail(String email) {
		this.email = email;
	}
    
    
    public long getId() {
        return id;
    }

    public String getEmail() {
        return email;
    }

    public boolean isActivated() {
        return activated;
    }

    public String getFullname() {
        return full_name;
    }

    public String getAvatar() {
        return avatar;
    }

    public String getAvatarThumb() {
        return avatar_thumb;
    }

    public String getCreatedAt() {
        return createdAt;
    }

    public String getUpdatedAt() {
        return updatedAt;
    }
    
    public String getAddress() {
        return address;
    }
    
    public int getGender() {
        return gender;
    }
    
    public String getBirthDate() {
        return birth_date;
    }
    
    public Time getLastLogin() {
        return last_login;
    }
    
    public void updateAvatar(String avatar) {
        this.avatar = avatar;
        this.avatar_thumb = avatar;
    }
    
    public void updateFullname(String fullname) {
        this.full_name = fullname;
    }
    
    public void updateEmail(String email) {
        this.email = email;
    }
    
    public static class Time {
        private String date;
        private int timezone_type;
        private String timezone;
        
        public String getDate() {
            return date;
        }
    }
}
